﻿<%@ Page Language="C#" MasterPageFile="~/Doanh Nghiệp/MasterPage.master" AutoEventWireup="true" CodeFile="Doanhnghiep_dky.aspx.cs" Inherits="Doanh_Nghiệp_Doanhnghiep_dky" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div >
        <table border="0" style="width: 814px" align="center">
            <tr>
                <td colspan="2" align="center">
                    <asp:Label ID="lbthongtin" runat="server" Text="Đăng Ký Thông Tin" Width="210px"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="color: red">
                    Thông Tin Đăng Nhập</td>
            </tr>
            <tr>
                <td style="width: 179px; height: 33px;">
                    Email :</td>
                <td style="width: 187px; height: 33px;">
                    <asp:TextBox ID="txtemail" runat="server" Width="223px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtemail"
                        ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtemail"
                        ErrorMessage="Email sai định dạng" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td style="width: 179px">
                    Mật khẩu :</td>
                <td style="width: 187px">
                    <asp:TextBox ID="txtmatkhau" runat="server" TextMode="Password" Width="222px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="(*)" ControlToValidate="txtmatkhau"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 179px">
                    Nhập lại mật khẩu:</td>
                <td style="width: 187px">
                    <asp:TextBox ID="txtnhaplai" runat="server" TextMode="Password" Width="221px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtmatkhau"
                        ControlToValidate="txtnhaplai" ErrorMessage="Mật khẩu không trùng" Width="195px"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td style="color: red;" colspan="2">
                    Thông Tin Doanh Nghiệp :</td>
            </tr>
            <tr>
                <td style="width: 179px; height: 36px;">
                    Tên :</td>
                <td style="width: 187px; height: 36px;">
                    <asp:TextBox ID="txtten" runat="server" Height="38px" TextMode="MultiLine" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="(*)" ControlToValidate="txtten"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 179px">
                    Địa Chỉ :</td>
                <td style="width: 187px">
                    <asp:TextBox ID="txtdiachi" runat="server" TextMode="MultiLine" Width="249px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="(*)" ControlToValidate="txtdiachi"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 179px">
                    Điện Thoại :</td>
                <td style="width: 187px">
                    <asp:TextBox ID="txtdienthoai" runat="server" Width="185px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="(*)" ControlToValidate="txtdienthoai"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 179px">
                    Fax :</td>
                <td style="width: 187px">
                    <asp:TextBox ID="txtfax" runat="server" Width="186px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="(*)" ControlToValidate="txtfax"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 179px">
                    Bản Đồ :</td>
                <td style="width: 187px">
                    <asp:FileUpload ID="hinhbando" runat="server" />
                    <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="Bản đồ chưa xác nhận"
                        Visible="False" Width="199px"></asp:Label><br />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="height: 12px">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Đăng Ký" Width="127px" /></td>
            </tr>
        </table>
    </div>
</asp:Content>

